package com.itheima.service;

import com.itheima.domain.Trip;

import java.util.List;

public interface TripService {

    //查询所有
    public List<Trip> findAllTrip();

    //添加
    public int addTrip(Trip trip);

    //根据id查询
    public Trip queryTripById(Integer id);

    //修改
    public int updateTripById(Integer id);

    //删除
    public int deleteTripById(Long id);

}
